﻿using System;
namespace CollegeShop.Api.Entity
{
	/// <summary>
	/// t_orderdetail:实体类(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public partial class t_orderdetail
	{
		public t_orderdetail()
		{}
		#region Model
		private int _id;
		private int _orderid;
		private int _goodsid;
		private string _goodsname;
		private decimal _goodsprice;
		private int _goodsamount;
		/// <summary>
		/// auto_increment
		/// </summary>
		public int ID
		{
			set{ _id=value;}
			get{return _id;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int OrderID
		{
			set{ _orderid=value;}
			get{return _orderid;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int GoodsID
		{
			set{ _goodsid=value;}
			get{return _goodsid;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string GoodsName
		{
			set{ _goodsname=value;}
			get{return _goodsname;}
		}
		/// <summary>
		/// 
		/// </summary>
		public decimal GoodsPrice
		{
			set{ _goodsprice=value;}
			get{return _goodsprice;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int GoodsAmount
		{
			set{ _goodsamount=value;}
			get{return _goodsamount;}
		}
		#endregion Model

	}
}

